-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to Polkadot SDK #461
base: develop
Are you sure you want to change the base?
Move to Polkadot SDK #461
Conversation
b64ef5d
to
b06e8a8
Compare
Seems to be a wasmtime misconfig somewhere.
|
b06e8a8
to
21961e3
Compare
This force push doesn't fix any of the prior observed issues and is just misc improvements. It's most notable for updating to polkadot-sdk/experimental rebased on top of the current polkadot-sdk/serai and effectively removing directories-next/option-ext via #467. This brings the entire Serai tree to 1193 crates when running |
Now the issue is InvalidTransaction. Some minor distinction with TX encoding, I guess? Or I updated the runtime but not serai-client? |
760e5f7
to
70cce9e
Compare
Still a WIP, and using an experimental branch with 2 not-yet-merged PRs merged.
Also removes a now unused RUSTSEC allow in deny.
The rational is detailed in the root Cargo.toml. While I don't personally mind MPL dependencies, even if I don't prefer them (they're allowed in the deny.toml for a reason), I do mind the pointless scope creep and wish to highlight how little it actually used from the crate by re-defining it as the single function. We could also fork directories-next, or directories, and remove the usage of option-ext per dirs-dev/dirs-sys-rs#24, yet that'd be a much larger task than what was done here. In the future, it may be beneficial to submit a PR to wasmtime replacing directories-next with home, a cargo-team maintained library to get the home directory and associated folders. An example migration can be found at harryfei/which-rs#80.
Avoids a divide by zero in sc-consensus-grandpa.
…d from the runtime serai-dex/polkadot-sdk@b892b01 for reasoning.
70cce9e
to
35265c6
Compare
Due to paritytech/polkadot-sdk#2944, we should probably target 1.10 which predates its merge. That conflicts with how libp2p 0.52 still hasn't been merged into polkadot-sdk (so it'll inherently be a later commit). We could patch libp2p 0.51 to use dalek 4.0 internally? That'd be the other valid solution. |
Polkadot 1.14 has all the dependency updates we want. 1.15 fixes some bugs I have tracked. As I said above. litep2p is now in tree and both more performant for Polkadot and unstable (yet present and causing various effects, such as re-arranged internals, accordingly). Each new update will presumably make the internals closer to where they should be and make litep2p more and more stable. I think, given our timeline and the timeline of releases, 1.15/1.16 would be a fair target. |
Running
cargo +nightly clippy --all-features --all-targets
onremove-subxt
(which this builds off) compiles 1215 crates. This compiles 1195 and includes a lot of version increases.This prematurely merges paritytech/polkadot-sdk#1631 and paritytech/polkadot-sdk#1313 into an
experimental
branch ofserai-dex/polkadot-sdk
. The former is needed, as cargo can't resolve the crate graph if we pull in the old libp2p with its older crypto dependencies. The latter is solely a nice to have.This PR exists to evaluate if the CI passes or if further edits are needed.